@cheset "utf-8";
.xy-pop-box,
.xy-pop-box * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-family: "microsoft yahei";
}
.xy-pop-box {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}
.xy-pop-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.xy-pop-main {
  width: 70%;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  right: 0;
  border-radius: 5px;
  overflow: hidden;
  max-width: 500px;
  -webkit-transform: translate3d(-50%, -60%, 0) scale(1);
  transform: translate3d(-50%, -60%, 0) scale(1);
  text-align: center;
}
.xy-pop-main.xy-pop-show {
  width: 100%;
  text-align: center;
  background: transparent;
}
.xy-pop-main.xy-pop-show .xy-pop-content {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 6px 10px;
  display: inline-block;
  color: #fff;
}
.xy-pop-main.xy-pop-show .xy-pop-title,
.xy-pop-main.xy-pop-show .xy-pop-btn {
  display: none;
}
.xy-pop-main.xy-pop-toast {
  background: rgba(0, 0, 0, 0.5);
  width: 120px;
}
.xy-pop-main.xy-pop-toast > p {
  text-align: center;
  padding: 0 0 15px;
  color: #fff;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.xy-pop-main.xy-pop-toast > div {
  width: 60px;
  height: 60px;
  margin: 15px auto 10px;
  background: none;
  position: relative;
  text-align: center;
}
.xy-pop-main.xy-pop-toast > div img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}
.xy-pop-title {
  padding: 15px 10px 0;
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  color: #333;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.xy-pop-content {
  padding: 15px;
  text-align: center;
  color: #666;
}
.xy-pop-content input {
  width: 100%;
  height: 36px;
  line-height: 36px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
  text-indent: 10px;
  font-size: 14px;
}
.xy-pop-btn {
  width: 100%;
  height: 40px;
  line-height: 40px;
  display: flex;
  text-align: center;
  font-size: 16px;
  border-top: 1px solid #eee;
}
.xy-pop-btn a {
  text-decoration: none;
  color: #333;
  flex: 1;
}
.xy-pop-btn a:first-of-type {
  border-right: 1px solid #eee;
}
.xy-pop-load {
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: #fff;
  -webkit-animation: loadRotate 1.2s linear 0s infinite normal both;
  animation: loadRotate 1.2s linear 0s infinite normal both;
}
.xy-pop-load div {
  width: 40px;
  height: 40px;
  margin: 10px auto;
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  border-bottom-color: #fff;
  -webkit-animation: loadRotate 1.2s linear 0s infinite normal both;
  animation: loadRotate 1.2s linear 0s infinite normal both;
}
.xy-pop-fail:after,
.xy-pop-fail:before {
  content: "";
  display: block;
  overflow: hidden;
  width: 2px;
  height: 100%;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background: #fff;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
}
.xy-pop-fail:before {
  width: 100%;
  height: 2px;
}
.xy-pop-ok:after {
  content: "";
  display: block;
  overflow: hidden;
  width: 25px;
  height: 60px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: -10px;
  right: 0;
  left: 0;
  margin: 0 auto;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}
@-webkit-keyframes loadRotate {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: scale(360deg);
  }
}
@keyframes loadRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
